package main

import "fmt"

func main() {
	s1 := make([]int, 3)
	s1[0] = 1
	s1[1] = 2
	s1[2] = 3
	fmt.Printf("s1:%v, %p\n", s1, &s1)
	s1 = append(s1, 1)
	fmt.Printf("s1:%v, %p\n", s1, &s1)
	s2 := make([]int, 0)
	s2 = append(s2, s1...)
	fmt.Printf("s2:%v, %p\n", s2, &s2)
	s2 = append(s2, 5)
	fmt.Printf("s2:%v, %p\n", s2, &s2)
}
